package com.mz.ozy.mvp.view;

import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;

import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;

/**
 * @author
 * @date 2018/7/25
 * @description
 */
public class RegisterContract {
    public interface View extends BaseView {
        void getCodeSuccess(Object o);
        void obtainRegisterSuccess(Object o);
        void getImageCodeInfo(Bitmap bitmap);

    }

    public interface Presenter extends BasePresenter<View> {
        void obtainRegister(Activity activity, String uname, String userName,String code, String password, String paypwd, String receCode);

        void getCode(Activity activity, String mobilePhone, String ivCode);

        void getImageCode(Context context);
    }


}
